/*
 * @Description:
 * @Author: william
 * @Date: 2025-09-16 15:23:22
 * @LastEditors: william
 * @LastEditTime: 2025-10-14 16:06:02
 */
const prefix = '/app'

// ------------------- 上传设备在线状态记录 --------------------
export const apiUploadDeviceOnlineRecord = data =>
  g_http.post(`${prefix}/uploadDeviceOnlineRecord`, data)

// ------------------- 上报设备信息 --------------------
export const apiUploadDeviceInfo = data =>
  g_http.post(`${prefix}/uploadDeviceInfo`, data)

// ------------------- 上传设备状态（在线状态、运行状态） --------------------
export const apiReportDeviceStatus = data =>
  g_http.post(`${prefix}/reportDeviceStatus`, data)

// ------------------- 上传设备位置 --------------------
export const apiReportDeviceLocation = data =>
  g_http.post(`${prefix}/reportDeviceLocation`, data)

// ------------------- 下载设备信息 --------------------
export const apiDownloadDeviceInfo = data =>
  g_http.post(`${prefix}/downloadDeviceInfo`, data)

// -------------------  查询设备型号列表 -------------------
export const apiDeviceQueryModelList = data =>
  g_http.post(`/device/queryModelList`, data)
